package com.owc.domain.vo.admin;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2019/12/17 10:22
 * @Version 1.0.0
 * @Description <>
 **/
@Data
public class IntoToken {

    @NotNull(message = "请选择用户ID")
    private Long userId;

    @NotNull(message = "请选择代币ID")
    private Long tokenId;

    @Min(value = 0 ,message = "划转金额不能是负数")
    private BigDecimal transferAmount;

    private String tokenName;

}
